<!--#include file="lib/utf-8.asp"-->
<!--#include file="lib/connopen.asp"-->
<!--#include file="lib/asp-common-lib.asp"-->
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>客户关系管理及报关单统计系统</title><!--#include file="lib/plugins.asp"-->
<!--[if IE]><script language="javascript" type="text/javascript" src="lib/jqplot/excanvas.js"></script><![endif]-->
<script type="text/javascript" src="lib/jqplot/jquery.jqplot.js"></script>
<script type="text/javascript" src="lib/jqplot/plugins/jqplot.dateAxisRenderer.js"></script>
<script type="text/javascript" src="lib/jqplot/plugins/jqplot.categoryAxisRenderer.js"></script>
<script type="text/javascript" src="lib/jqplot/plugins/jqplot.barRenderer.js"></script>
<link rel="stylesheet" type="text/css" href="lib/jqplot/jquery.jqplot.css" />
<style type="text/css">
	.ui-datepicker table {
		border: 0;
	}
	#col3{
		font-size:14px;
	}
	#chartdiv{
		width:500px;
		height:400px;
		float:right;
		margin:0 20px 0 0;
	}
</style>
<script type="text/javascript">
	$(function() {
	});
</script>	
<!--#include file="lib/js-google-analytics.asp"-->
</head>

<body>
<!--#include file="lib/header.asp"-->
<!--#include file="lib/nav.asp"-->
<div id="main">
<!--#include file="lib/col1.asp"-->
<!--#include file="lib/col2.asp"-->
	<div id="col3" role="main">
		<div id="col3_content" class="clearfix">
			<div class="subcolumns">
				<div class="c50l">
					<h3>公告和更新记录</h3>
					<%
						Set rs = Server.CreateObject("ADODB.Recordset")
						sql = "SELECT *  FROM crm_ul where ul_post=0 order by ul_update desc,ul_post asc,id desc"
						rs.Open sql,conn,1,1
						str=""
						t_date=""
						do while not rs.eof
							select case rs("ul_post")
								case 0 ul_post="系统"
							end select
							if rs("ul_update")<>t_date then 
								t_post=-1
								if t_date<>"" then str=str&"</ul></div>"
								str=str&"<div><h4>"&rs("ul_update")&"</h4><ul>"
								t_date=rs("ul_update")
							end if
							if rs("ul_post")<>t_post then
								if t_post<>-1 then str=str&"</ol></li>"
								str=str&"<li>"&ul_post&"<ol>"
								t_post=rs("ul_post")
							end if
							str=str&"<li>"&rs("ul_content")&"</li>"
							rs.movenext
						loop
						str=str&"</ol></li></ul></div>"
						response.write(str)
						rs.close
						set rs=nothing
					%>
				</div>
				<div class="c50r">
					<div id="chartdiv"></div>
				</div>
			</div>
		</div>
	</div>
</div>
<!--#include file="lib/footer.asp"-->
</body>
</html>
<!--#include file="lib/connclose.asp"-->

